﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： WxGroupUserEntity.cs
// 项目名称：斑马车务
// 创建时间：2019/10/18
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///数据实体  
	/// </summary>
    [PrimaryKey("ID")]
	public class WxGroupUser
	{
		///<summary>
		///
		///</summary>
		public WxGroupUser()
		{
		}	
    
		
		///<summary>
		///
		///</summary>
        [Column("ID","")]
        public int ID { get; set; }

		///<summary>
		///OpenID
		///</summary>
        [Column("OpenID","OpenID")]
        public string OpenID { get; set; }

		///<summary>
		///UnionID
		///</summary>
        [Column("UnionID","UnionID")]
        public string UnionID { get; set; }

		///<summary>
		///用户ID
		///</summary>
        [Column("WeChartUserID", "用户ID")]
        public int WeChartUserID { get; set; }

		///<summary>
		///微信群ID
		///</summary>
        [Column("WxGroupID","微信群ID")]
        public int WxGroupID { get; set; }

		///<summary>
		///群组ID
		///</summary>
        [Column("CarGroupID","群组ID")]
        public int CarGroupID { get; set; }

		///<summary>
		///状态 1-申请中 2-已入群
		///</summary>
        [Column("Status","状态")]
        public int Status { get; set; }

		///<summary>
		///创建时间
		///</summary>
        [Column("CreateDate","创建时间")]
        public DateTime CreateDate { get; set; }

		///<summary>
		///创建人
		///</summary>
        [Column("CreateUserID","创建人")]
        public int CreateUserID { get; set; }

		///<summary>
		///更新时间
		///</summary>
        [Column("UpdateDate","更新时间")]
        public DateTime UpdateDate { get; set; }

		///<summary>
		///更新人
		///</summary>
        [Column("UpdateUserID","更新人")]
        public int UpdateUserID { get; set; }


        ///<summary>
        ///用户ID
        ///</summary>
        [Column("UserID", "用户ID")]
        public int UserID { get; set; }

        ///<summary>
        ///逻辑标识
        ///</summary>
        [Column("IsActive","逻辑标识")]
        public int IsActive { get; set; }

	}
}